#eps32c3 super mini
led1=8
key1=9
ledoff=1
ledon=0
scl=8
sda=9
voltageSwitch=6
dcdcSwitch=7
voltagePin=1
def getvolt(buf):
    buf.sort()
    l_=int(len(buf)/4)
    buf=buf[l_:len(buf)-l_]
    buf=sum(buf)/len(buf)
    return buf*5.6/4096
